home *** CD-ROM | disk | FTP | other *** search
-
-
-
- AR User Commands AR
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- ar - archive maintenance
-
- SSYYNNOOPPSSIISS
- aarr _f_l_a_g_s [_p_o_s_n_a_m_e] _a_r_c_h_i_v_e [_n_a_m_e _n_a_m_e ...]
-
- OOPPTTIIOONNSS
- aa Position the named files after _p_o_s_n_a_m_e.
-
- bb Position the named files before _p_o_s_n_a_m_e.
-
- cc If creating an archive for the first time, do
- it silently.
-
- dd Command: delete the named files from the
- archive.
-
- ii Position the named files before _p_o_s_n_a_m_e.
-
- ll Ignored. This flag is kept for compatibility
- with the UNIX aarr.
-
- mm Command: move the named files to a different
- location in the archive.
-
- oo When extracting a file from the archive, give
- it the last-modified time that is recorded in
- the archive. The default is to give it the
- current time.
-
- pp Command: print out the named files. If no
- files are named, print out all files in the
- archive.
-
- qq Command: quickly append the named files to
- the archive. If the named files already
- exist, the archive will end up with dupli-
- cates. This command is intended for creating
- a new archive with lots of files with one
- invocation of aarr.
-
- rr Command: replace the named files in the
- archive. If a named file isn't already in
- the archive, it is added.
-
- ss Create a ____..SSYYMMDDEEFF file for the archive.
- This flag may be used as a command or as a
- modifier to other commands.
-
- tt Command: list the named files in the archive.
-
-
-
- Sprite v.1.0 Printed: October 4, 1991 1
-
-
-
-
-
-
- AR User Commands AR
-
-
-
- If no files are named, the table of contents
- for the entire archive is listed.
-
- uu If replacing files, only replace a file if it
- is newer than the version in the archive (or
- if there is no version in the archive at
- all).
-
- vv Turn on the ``verbose'' flag.
-
- xx Command: extract the named files from the
- archive. If no files are named, extract all
- files in the archive.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- AArr maintains archive files, which are collections of other
- files. An archive file is usually used as a library of
- object files, for use with lldd.
-
- Each invocation of aarr always takes one command flag and an
- archive name. It may also take modifier flags, which appear
- with the command letter. For example, ttvv specifies the
- ``table-of-contents'' command, with the ``verbose'' flag
- turned on. It is equivalent to vvtt. If you specify any of
- the aa, bb, or ii flags (for the mm or rr commands), you must
- also specify _p_o_s_n_a_m_e, which is the name of a file in the
- archive that other files will be positioned relative to.
- The default is to place the files at the end of the archive.
- Finally, most commands require that you specify one or more
- file names. These names refer to files in the archive,
- files outside the archive, or both, depending on the com-
- mand.
-
- You may specify a complete path for any file name. AArr will
- remove leading path information and truncate the file name
- to 15 characters to get the name of the file as it is stored
- in the archive. However, the full given path will be used
- when referring to files outside the archive for the qq, rr,
- and xx commands.
-
- Some UNIX linkers require that an object file library have a
- ____..SSYYMMDDEEFF file, which contains a string table that the
- linker lldd uses to resolve external references. This version
- of aarr maintains the ____..SSYYMMDDEEFF file automatically, once it
- exists, and it will create the ____..SSYYMMDDEEFF file if the ss flag
- is specified. Thus, rraannlliibb, which is the program usually
- used to maintain the ____..SSYYMMDDEEFF file, is not needed with this
- version of aarr.
-
- The vv flag has a varied effect, depending on the command
- involved. For most commands, specifying the vv flag merely
-
-
-
- Sprite v.1.0 Printed: October 4, 1991 2
-
-
-
-
-
-
- AR User Commands AR
-
-
-
- causes aarr to tell you what it's doing as it does it. For
- the tt command, the vv flag causes information about each file
- (other than just its name) to be printed. This additional
- information consists of
-
- o+ the permissions associated with the file (as displayed by
- llss)
-
- o+ the file's owner and group (displayed as integers)
-
- o+ the file's length in bytes
-
- o+ the last-modified time of the file
-
-
- SSEEEE AALLSSOO
- ranlib, ld, ls
-
-
- KKEEYYWWOORRDDSS
- archive, library
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: October 4, 1991 3
-
-
-
-